﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace EasyHookSandbox.Ipc
{
    public class HookChannel : MarshalByRefObject
    {
        public void IsInstalled(Int32 inClientPid)
        {
            Console.WriteLine("Injected!!");
        }

        public void OnHelpShow()
        {
            Console.WriteLine("ShowHelp was called");
        }

        public void ReportException(Exception inInfo)
        {
            Console.WriteLine("The target process has reported" +
                              " an error:\r\n" + inInfo.ToString());
        }
    }
}
